package com.ruoyi.statistics.mapper;

import com.ruoyi.statistics.domain.HomeStatistics;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HomeMapper {


    List<Long> dataUser(@Param("roleKey") String roleKey);

    HomeStatistics homeHead(HomeStatistics homeStatistics);

    List<HomeStatistics> teamStatistics(HomeStatistics homeStatistics);

    List<HomeStatistics> userStatistics(HomeStatistics homeStatistics);

    // 当年 每个月业绩  放款件数
    List<HomeStatistics> yearQuota(HomeStatistics homeStatistics);

    List<HomeStatistics> yearSingleType(HomeStatistics homeStatistics);


    List<HomeStatistics> atDayRecord(HomeStatistics homeStatistics);


    List<String> recordCustomerNumber(@Param("userId") Long userId);

}
